FROM node:current-alpine3.15
RUN sed -i 's!https://dl-cdn.alpinelinux.org/!https://mirrors.aliyun.com/!g' /etc/apk/repositories \
    apk update && apk add git && apk add openssh-client && apk add curl && \
    npm config set registry http://registry.npm.taobao.org/ \
    npm install -g npm@8.13.1 \
    npm install tyarn -g \
    npm i @ant-design/pro-cli -g
WORKDIR /home/node/app